/*
 * yabase64.h
 * KJ's simplified stream archiver (kjssar)
 * 
 * (C)Copyright 2013-2015 by Klaus-J. Wolf, kj (at) seismic (dot) de
 * This file is licensed under the General Public License Version 2.
 * http://www.gnu.org/licenses/gpl-2.0.html
 * 
 * This is a proof-of-concept implementation.
 * 
 */

#include <string.h>

#include "prelim.h"


extern const char *base64chars;


int base64encode(const uchar *data_buf, int datasz, uchar *res, int ressz);

int base64decode (char *in, int insz, unsigned char *out, int outsz, int *outp);
